
import React,{ Component } from 'react';
import { Table,Pagination} from 'antd';


const columns = [{
  title: 'Name',
  dataIndex: 'name',
}, {
  title: 'Age',
  dataIndex: 'age',
}, {
  title: 'Address',
  dataIndex: 'address',
}];

const data = [];
for (let i = 0; i < 46; i++) {
  data.push({
    key: i,
    name: `Edward King ${i}`,
    age: 32,
    address: `London, Park Lane no. ${i}`,
  });
}


class Paginations extends Component {
	constructor(props) {
		super(props);
		this.state = {

		}
	}
	render() {
		return (
			<div>
				<Table columns={columns} dataSource={data} />
				<Pagination showSizeChanger showQuickJumper defaultCurrent={6} total={500} />,
			</div>
		)
	}
}
export default Paginations;